<?php 
$id = $_POST["id"];
$ten = $_POST["Hoten"];
$user = $_POST["Username"];
$pass = $_POST["Password"];
$email = $_POST["Email"];
$diachi = $_POST["Diachi"];

$sql = "UPDATE sinh_vien SET Hoten='$ten', Username='$user', Password='$pass', Email='$email', Diachi='$diachi' WHERE ID=".$id;
if(mysql_query($sql))
	echo "Sửa thành công";
else
	die(mysql_error());
?>